﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BXJG.Utils.Share.Files
{
    /// <summary>
    /// 下载文件时的返回模型
    /// </summary>
    public class DownloadFileResult
    {
        /// <summary>
        /// 物理路径
        /// </summary>
        public string RelativePath { get; set; }
        /// <summary>
        /// 缩略图的物理路径(如果有)
        /// </summary>
        public string? RelativePathThumbnail {  get; set; }
        /// <summary>
        /// 上传时真实的文件名
        /// </summary>
        public string RealFullName { get; set; }
        /// <summary>
        /// 响应时的content-type
        /// </summary>
        public string ResponseContentType { get; set; }
        /// <summary>
        /// 访问权限
        /// </summary>
        public FilePermission Permission { get; set; }
    }
}
